.community {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  .menu {
    height: 200rpx;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 45rpx;
    .left {
      display: flex;
      flex-direction: row;
      align-items: center;
      .tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 32rpx;
        margin-bottom: 10rpx;
        text {
          font-size: 25rpx;
          font-weight: 700;
        }
        .on {
          font-size: 35rpx;
          font-weight: 700;
        }
        .line {
          width: 40rpx;
          height: 5rpx;
          margin-top: 5rpx;
          border-radius: 3rpx;
          background-color: lightgreen;
        }
      }
    }
  }
  .community-list {
    // flex: 1;
    // background-color: lightblue;
    .community-item:nth-of-type(1) {
      margin-top: 30rpx;
    }
    .community-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 60rpx;
      .info {
        width: calc(100vw - 64rpx);
        padding: 0 32rpx;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 5rpx;
        .avatar {
          width: 80rpx;
          height: 80rpx;
          border-radius: 50%;
          background-size: contain;
        }
        .user-info {
          flex: 1;
          display: flex;
          flex-direction: column;
          margin-left: 15rpx;
          .nickname {
            font-size: 30rpx;
          }
          .time {
            font-size: 20rpx;
            color: #ccc;
            margin-top: 5rpx;
          }
        }
        .whisper {
          width: 80rpx;
          height: 40rpx;
          display: flex;
          justify-content: center;
          align-items: center;
          background-color: rgba(228, 228, 228, 0.884);
          border-radius: 40rpx;
          text {
            font-size: 25rpx;
            color:rgb(31, 173, 230);
          }
        }
      }
      .content-box {
        width: 100vw;
        box-sizing: border-box;
        padding-left: 127rpx;
        padding-right: 32rpx;
        .text {
          font-size: 30rpx;
        }
        .action-list {
          display: flex;
          flex-direction: row;
          align-items: center;
          margin-top: 50rpx;
          .share {
            flex: 1;
            display: flex;
            align-items: center;
            image {
              width: 40rpx;
              height: 40rpx;
            }
            text {
              font-size: 27rpx;
              margin-left: 3rpx;
            }
          }

          .praise {
            display: flex;
            align-items: center;
            image {
              width: 40rpx;
              height: 40rpx;
            }
            text {
              font-size: 27rpx;
              margin-left: 3rpx;
            }
          }

          .comment {
            display: flex;
            align-items: center;
            margin-left: 70rpx;
            image {
              width: 40rpx;
              height: 40rpx;
            }
            text {
              font-size: 27rpx;
              margin-left: 3rpx;
            }
          }
        }
      }
    }
  }
}